<template>
  <div class="todo-item">
    <div class="todo-item-title">
      <span>张三提交的请假</span>
      <span class="time">2022-05-19</span>
    </div>
    <ul>
      <li>开始时间：2022-05-19</li>
      <li>结束时间：2022-05-19</li>
    </ul>
    <div class="status pass">审批通过</div>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">
.todo-item {
  padding: var(--padding-value);
  background-color: #fff;
  margin-top: var(--margin-value);
  &-title {
    font-size: var(--lg-font-size);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
  }
  .time {
    color: #b2b2b6;
    font-size: 12px;
  }
  ul {
    font-weight: 500;
    margin: 8px 0;
    li {
      color: #8d9092;
      line-height: 24px;
    }
  }
  .status {
    font-weight: 500;
  }
  .pass {
    color: #5bd171;
  }
  .reject {
    color: #f53f3f;
  }
}
</style>
